<extend name="Home:index" />

<block name="page_content">
    <div id="dcMain">
        <!-- 当前位置 -->
        <div id="urHere">管理中心<b>></b><strong>用户列表</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
            <h3><!--<a href="" class="actionBtn add">添加用户</a>-->宴会列表</h3>
            
            <a href="<php>echo \Org\Net\Fun::url('admin/user/dcBanquet');</php>">导出宴会排行榜</a>
            <a href="<php>echo \Org\Net\Fun::url('admin/user/dcBanquet2');</php>">导出发起宴会人列表</a>
            <div id="list">
                <form name="action" method="post" action="article.php?rec=action">
                    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
                        <tr>
                            <th width="22" align="center"><input name='chkall' type='checkbox' id='chkall' onclick='selectcheckbox(this.form)' value='check'></th>
                            <th width="40" align="center">名字</th>
                            <th width="80" align="center">电话</th>
                            <th width="150" align="center">地址</th>
                            <th width="150" align="center">宴会日期</th>
                            <th width="150" align="center">微信昵称</th>
                            <th width="150" align="center">微信头像</th>
                            <th width="150" align="center">参与人数</th>
                            <th width="80" align="center">参与日期</th>
                        </tr>

                        <foreach name="list" item="item" key="k" >
                            <tr>
                                <td align="center"><input type="checkbox" name="checkbox[]" value="10" /></td>
                                <td align="center">{$item.name}</td>
                                <td align="center">{$item.phone}</td>
                                <td align="center">{$item.address}</td>
                                <td align="center">{$item.banquet_date}</td>
                                <td align="center">{$item.wx_name}</td>
                                <td align="center"><a href="{$item.image}" target="_black"><img width="50" height="50" src="{$item.image}"/></a></td>
                                <td align="center">{$item.people}</td>
                                <td align="center"><?php echo date('Y-m-d H:i',$item['add_time']);?></td>
                                
                            </tr>
                        </foreach>

                    </table>
                    <!--
                    <div class="action">
                        <select name="action" onchange="douAction()">
                            <option value="0">请选择...</option>
                            <option value="del_all">删除</option>
                            <option value="category_move">移动分类至</option>
                        </select>
                        <select name="new_cat_id" style="display:none">
                            <option value="0">未分类</option>
                            <option value="1"> 公司动态</option>
                            <option value="2"> 行业新闻</option>
                        </select>
                        <input name="submit" class="btn" type="submit" value="执行" />
                    </div>
                    -->
                </form>
            </div>
            <div class="clear"></div>
           <div class="pager">{$page}</div>        
        </div>
    </div>
</block>    